
package com.shycloud.mido.organ.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 平台认证教师表
 *
 * @author jtzhang
 * @date 2019-02-27 13:16:46
 */
@Data
@TableName("sm_member_teacher_approval")
@EqualsAndHashCode(callSuper = true)
public class TeacherApprovalEntity extends Model<TeacherApprovalEntity> {
private static final long serialVersionUID = 1L;

  /**
   * 会员详细信息编码
   */
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    /**
   * 会员编码
   */
    private String memberId;
    /**
   * 状态 0-未审批, 1-已通过, 2-已驳回
   */
    private String status;
    /**
   * 创建时间
   */
    private LocalDateTime createTime;
    /**
   * 修改时间
   */
    private LocalDateTime updateTime;
    /**
   * 教龄
   */
    private String scope;
    /**
   * 认证照片
   */
    private String headPic;
    /**
   * 毕业院校
   */
    private String school;
    /**
   * 最高学历
   */
    private String degree;
    /**
   * 学历认证
   */
    private String degreePic;
    /**
   * 教师资格证
   */
    private String teacherPic;
    /**
   * 个人介绍
   */
    private String introduction;
    /**
     * 审核人
     */
    private String approver;
    /**
     * 性别 0-男，1-女
     */
    private String sex;
	/**
	 * 备注
	 */
    private String remarks;

	/**
	 * 驳回原因
	 */
	private String reason;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
